FROM java:8
# 作者
MAINTAINER kangxiaolong 654195681@qq.com
VOLUME /tmp
ADD swagger-admin.jar swagger-admin.jar
# 运行jar包
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/swagger-admin.jar"]